#define  _CRT_SECURE_NO_WARNINGS 1
#include  <stdio.h>

//void init(int arr[])
//{
//	//int sz = sizeof(arr) / sizeof(arr[0]);
//	/*printf("%d\n", sz);*/
//	printf("%d\n", arr[1]);
//}
//int main()
//{
//	int arr[10] = { 1,2,3,4,5,6,7,8,9,10 };
//	init(arr);
//	int sz = sizeof(arr) / sizeof(arr[0]);
//	printf("%d\n", sz);
//	return 0;
//}


int main()
{
	int arr1[] = { 1,3,5,7,9,};
	int arr2[] = { 2,4,6,8,10 };
	int sz = sizeof(arr1) / sizeof(arr1[0]);
	int i = 0;
	for (i = 0; i < sz; i++)
	{
		int tmp = arr1[i];
		arr1[i] = arr2[i];
		arr2[i] = tmp;
	}
	printf("%d\n", arr1);
	printf("%d", arr2);
	return 0;
}
